package com.ssm.service;


import com.ssm.pojo.cart.AddCart;
import com.ssm.pojo.cart.AddCartResult;
import com.ssm.pojo.cart.CartList;
import com.ssm.pojo.cart.RemoveAllCartResult;
import com.ssm.pojo.cart.RemoveCart;
import com.ssm.pojo.cart.RemoveCartResult;
import com.ssm.pojo.cart.UpdateCart;
import com.ssm.pojo.cart.UpdateCartResult;

public interface CartService {
	CartList list(int userId);
	RemoveCartResult delete(RemoveCart removeCart);
	RemoveAllCartResult deleteAll(int userId);
	AddCartResult add(AddCart addCart);
	UpdateCartResult update(UpdateCart updateCart);
}
